<!--
 * @Author: 迩安 14166156+zxp_lzu@user.noreply.gitee.com
 * @Date: 2024-08-14 15:10:52
 * @LastEditors: 迩安 14166156+zxp_lzu@user.noreply.gitee.com
 * @LastEditTime: 2024-08-14 17:09:14
 * @FilePath: \echarts\src\views\chart-center.vue
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<script setup>


</script>

<template>
    <div>
    <el-container class="layout-container">
        <el-aside width="200px">
            <el-menu :default-active="$route.path" active-text-color="#ffd04b" background-color="#232323" text-color="#fff" router>
                <el-sub-menu index="project">
                    <template #title>
                        <i class="el-icon-menu"></i>
                        <span>项目</span>
                    </template>
                    <el-menu-item index="/datashow">
                        <template #title>
                            <span>数据</span>
                        </template>
                    </el-menu-item>
                    <el-menu-item index="/chart">
                        <template #title>
                            <span>卡片集</span>
                        </template>
                    </el-menu-item>
                </el-sub-menu>
            </el-menu>
        </el-aside>
        <el-container>
            <el-header>
                <div><strong>111</strong></div>
            </el-header>
            <el-main>
                <router-view></router-view>
            </el-main>
            <el-footer>chart-center ©2024</el-footer>
        </el-container>
    </el-container>
</div>
</template>
<style lang="scss">
.layout-container {
    min-height: 100vh;

    .el-aside {
        background-color: #232323;

        .el-menu {
            border-right: none;
        }
    }

    .el-header {
        background-color: #fff;
        display: flex;
        align-items: center;
        justify-content: space-between;

        .el-dropdown__box {
            display: flex;
            align-items: center;

            .el-icon {
                color: #999;
                margin-left: 10px;
            }

            &:active,
            &:focus {
                outline: none;
            }
        }
    }

    .el-footer {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
        color: #666;
    }
}
</style>